package com.zfjt.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zfjt.dao.UserBeanMapper;
import com.zfjt.entity.UserBean;
import com.zfjt.service.UserService;

@Service
public class UserServiceIpml implements UserService{

	@Autowired
	private UserBeanMapper mUser;

	@Override
	public Integer deleteByPrimaryKey(String account) {
		return mUser.deleteByPrimaryKey(account);
	}

	@Override
	public Integer insert(UserBean record) {
		return mUser.insert(record);
	}

	@Override
	public Integer insertSelective(UserBean record) {
		return mUser.insertSelective(record);
	}

	@Override
	public UserBean selectByPrimaryKey(String account) {
		return mUser.selectByPrimaryKey(account);
	}

	@Override
	public Integer updateByPrimaryKeySelective(UserBean record) {
		return mUser.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer updateByPrimaryKey(UserBean record) {
		return mUser.updateByPrimaryKey(record);
	}

	@Override
	public List<UserBean> selectAll() {
		return mUser.selectAll();
	}

	@Override
	public UserBean selectByName(UserBean userBean) {
		// TODO Auto-generated method stub
		return mUser.selectByName(userBean);
	}
	
}
